package com.laicunba.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.laicunba.pojo.SharedPacketItemDO;
import com.laicunba.service.SharedPacketItemService;

@Service
public class SharedPacketItemServiceImpl extends BaseServiceImpl implements SharedPacketItemService {

	@Override
	public List<SharedPacketItemDO> findByPacketId(String packetId) {
		return queryDao.selectList("SHARED_PACKET_ITEM.findByPacketId", packetId);
	}

	@Override
	public List<SharedPacketItemDO> findUseableByMobile(String mobile) {
		return queryDao.selectList("SHARED_PACKET_ITEM.findUseableByMobile", mobile);
	}

}
